package com.imooc.enums;

import lombok.Getter;

/**
 * FileName: ProductStatusEnum.java
 * Description: 商品状态枚举类
 *
 * @author HuangRI(874668739 @ qq.com)
 * @version 1.0
 * @date 2020/12/16
 */
@Getter
public enum ProductStatusEnum implements BaseEnum {

    /** 上架 */
    UP(0, "在架"),
    /** 已下架 */
    DOWN(1, "下架");

    private Integer code;

    private String message;

    ProductStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
